package com.hxzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxzy.entity.SysRole;
import com.hxzy.service.SysRoleService;
import com.hxzy.mapper.SysRoleMapper;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
* @author admin
* @description 针对表【sys_role(角色信息表)】的数据库操作Service实现
* @createDate 2024-04-07 10:54:29
*/
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole>
    implements SysRoleService{

    @Override
    public Set<String> getRoleByUserId(Long userId) {
        return this.baseMapper.getRoleByUserId(userId);
    }
}




